package com.rentcars.mapper;

import com.rentcars.entity.CarInsurance;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author 赵瑞硕
 * @data
 */
@Mapper
public interface CarInsuranceMapper {

    /** 修改订单信息*/
    int updateByPrimaryKeySelective(CarInsurance record);
    /** 查看所有订单信息*/
    List<CarInsurance> getLikeCarInsurance(Map<String, Object> map);
    /** 计算条数*/
    int getLikeCarInsuranceCount(Map<String, Object> map);
    /** 查看指定订单信息*/
    CarInsurance selectByPrimaryKey(String recordid);
    /** 删除*/
    int deleteByPrimaryKey(String recordid);
    /** 添加*/
    int insertSelective(CarInsurance record);

}